package com.scut.scutzone;

import com.scut.scutzone.config.ScutZoneConfig;
import com.scut.scutzone.dao.CommentAccess;
import com.scut.scutzone.entity.Comment;

import com.scut.scutzone.service.DatabaseService;
import com.scut.scutzone.service.impl.DatabaseServiceImpl;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.stereotype.Repository;

@SpringBootApplication
@MapperScan(basePackages = "com.scut.scutzone.dao",annotationClass = Repository.class)
public class ScutzoneApplication {

    static ConfigurableApplicationContext context;

    public static void main(String[] args) {
        context = SpringApplication.run(ScutzoneApplication.class, args);
    }



}
